package com.capgemini.service.impl;

import com.capgemini.dto.User;
import com.capgemini.mapper.UserMapper;
import com.capgemini.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
        private UserMapper userMapper;

    @Override
    public User login(String uname, String upwd) {
        return userMapper.login(uname, upwd);
    }
}
